{include file="header.tpl" title="Them moi par_sbvcode"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="30%">{$lbl_MAILID}</td>
     <td style="color:#FF0000">
	  
      <input name="MAILID" style="background:{$colorMAILID}" type="text" id="MAILID" value="{$MAILID}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" />
      *     </td>
    </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_MAILDESC}</td>
    <td nowrap="nowrap" style="color:#FF0000"><input name="MAILDESC" style="background:{$colorMAILDESC}" type="text" id="MAILDESC" value="{$MAILDESC}" size="50" maxlength="50" /></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ZONEID}</td>
    <td nowrap="nowrap" style="color:#FF0000"><select name="ZONEID" size="1" id="ZONEID" style="background:{$colorZONEID};"> 
	<option value=""></option>
 		{foreach from=$cbo_ZONEID key=k item=v}	       
      <option value="{$k}" {if $ZONEID eq $k} selected="selected" {/if}>{$k} - {$v}</option>    
 		{/foreach}	    
    </select>    </td>
    <!---onblur="formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" --->
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BRNCODE}</td>
    <td nowrap="nowrap" style="color:#FF0000"><input name="BRNCODE" style="background:{$colorBRNCODE}" id="BRNCODE" type="text"  value="{$BRNCODE}" size="20" maxlength="3" />
      <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findLEVELID5" id="replacement_binoculars" value="     " /></td>
    </tr>
  <tr>
    <td>{$lbl_MAILLIST}</td>
    <td><input name="tmpMAILLIST" id="tmpMAILLIST" type="text"  value="{$tmpMAILLIST}" size="30" maxlength="50" style="background:{$colorMAILLIST}"/>
      <span style="color:#FF0000">
      <input type="button" name="add_MAILLIST" id="add_MAILLIST" value="{$ten_them_moi}"  class="button_style" onclick="add_new_MAILLIST();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="deleteMAILLIST" onclick="delete_MAILLIST();" id="deleteMAILLIST" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></td>
    </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td><label>
      <textarea name="MAILLIST" cols="30" rows="2" id="MAILLIST" readonly="readonly">{$MAILLIST}</textarea>
    </label></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><strong><u>{$lbl_PHUCHU}:</u></strong></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_HOPOS}</td>
    <td width="70%"><input name="tmpHOPOS" style="background:{$colorHOPOS}" type="text"   id="tmpHOPOS" value="{$tmpHOPOS}" size="23" maxlength="10"  />
      <span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_maillist_id.php?name=tmpHOPOS', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findLEVELID" id="replacement_binoculars" value="     " />
      <input type="button" name="add_HOPOS" id="add_HOPOS" value="{$ten_them_moi}"  class="button_style" onclick="add_new_HOPOS();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="deleteHOPOS" onclick="delete_HOPOS();" id="deleteHOPOS" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></td>
    <!---onblur="formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" -->
  </tr>
  
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td><textarea name="HOPOS" cols="30" rows="2" id="HOPOS" readonly="readonly">{$HOPOS}</textarea></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_ZONPOS}</td>
    <td><p>
      <input name="tmpZONPOS" style="background:{$colorZONPOS}" type="text"  id="tmpZONPOS" value="{$tmpZONPOS}" size="23" maxlength="10"  />
      <span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_maillist_id.php?name=tmpZONPOS', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findLEVELID2" id="replacement_binoculars" value="     " />
      </span><span style="color:#FF0000">
      <input type="button" name="add_ZONPOS" id="add_ZONPOS" value="{$ten_them_moi}"  class="button_style" onclick="add_new_ZONPOS();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span><span style="color:#FF0000">
      <input name="deleteZONPOS" onclick="delete_ZONPOS();" id="deleteZONPOS" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></p>      </td>
    </tr>
  
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td><textarea name="ZONPOS" cols="30" rows="2" id="ZONPOS" readonly="readonly">{$ZONPOS}</textarea></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_BRNPOS}</td>
    <td><input name="tmpBRNPOS" style="background:{$colorBRNPOS}" type="text"  id="tmpBRNPOS" value="{$tmpBRNPOS}" size="23" maxlength="10" />
      <span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_maillist_id.php?name=tmpBRNPOS', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findLEVELID3" id="replacement_binoculars" value="     " />
      <input type="button" name="add_BRNPOS" id="add_BRNPOS" value="{$ten_them_moi}"  class="button_style" onclick="add_new_BRNPOS();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="deleteBRNPOS" onclick="delete_BRNPOS();" id="deleteBRNPOS" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></td>
    </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td><textarea name="BRNPOS" cols="30" rows="2" id="BRNPOS" readonly="readonly">{$BRNPOS}</textarea></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_DEPTPOS}</td>
    <td><input name="tmpDEPTPOS" style="background:{$colorDEPTPOS}" type="text"   id="tmpDEPTPOS" value="{$tmpDEPTPOS}" size="23" maxlength="10" />
      <span style="color:#FF0000">
      <input type="button" onclick="mywindow = window.open('par_maillist_id.php?name=tmpDEPTPOS', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findLEVELID4" id="replacement_binoculars" value="     " />
      <input type="button" name="add_DEPTPOS" id="add_DEPTPOS" value="{$ten_them_moi}"  class="button_style" onclick="add_new_DEPTPOS();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      <input name="deleteDEPTPOS" onclick="delete_DEPTPOS();" id="deleteDEPTPOS" type="button" value=" {$ten_xoa} " class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
      </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td width="70%"><textarea name="DEPTPOS" cols="30" rows="2" id="DEPTPOS" readonly="readonly">{$DEPTPOS}</textarea></td>
    </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="submit" name="capnhat" id="capnhat" value="{$ten_cap_nhat}" class="button_style"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/>
  </div></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">

</td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
</tr>
</table>
</form>
{include file="footer.tpl"}
